```typescript index.ts
import { Dev } from 'dev-typescript-sdk';

const dev = new Dev({
    /*
     * API Key authentication.
     * 
     * Authentication for some endpoints, like write operations on the
     * Articles API require a DEV API key.
     * 
     * All authenticated endpoints are CORS disabled, the API key is intended for non-browser scripts.
     * 
     * ### Getting an API key
     * 
     * To obtain one, please follow these steps:
     * 
     *   - visit https://dev.to/settings/extensions
     *   - in the "DEV API Keys" section create a new key by adding a
     *     description and clicking on "Generate API Key"
     * 
     *     ![obtain a DEV API Key](https://user-images.githubusercontent.com/37842/172718105-bd93664e-76e0-477d-99c4-265dda0b06c5.png)
     * 
     *   - You'll see the newly generated key in the same view
     *     ![generated DEV API Key](https://user-images.githubusercontent.com/37842/172718151-e7fe26a0-9937-42e8-96c6-333acdab9e49.png)
     */
    apiKey: "API_KEY"
})
```